﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Innova.Microfinanzas.BusinessEntities;
using Innova.Microfinanzas.BusinessEntities.SystemEnums;
using Innova.FoundationFramework.DataTypes;

namespace MyCommerce.Presentation.GeneralParameters.IViews
{
    public interface ICategoryFill
    {
        long IdItemEdit { get; set; }
        OptionSelect OptionViewSelect { get; set; }
        List<Classifier> ColCategory { set; }
        List<Classifier> ColProductType { set; }

        List<CategoryRelation> Get();
        void Set(List<CategoryRelation> colToLoad);
        void CloseAndSetResult(bool result);

        event GenericEventHandler<List<CategoryRelation>> OnLoadView;
        event EventHandler OnSave;
        event EventHandler OnCancel;
    }
}
